package com.hapzxb.thread.func;

public class TestMain {
    public static void main(String[] args) {
        Describe describe = new Describe();
        Callable c = describe::show;
        c.call("demo 测试");

//        MakeString m = X::f;
        TransformX tx = X::f;
    }
}


class X {
    String f() { return "X::f()"; }
}

interface MakeString {
    String make();
}

interface TransformX {
    String transform(X x);
}